dart date add month

87

var date = DateTime.now();
var newDate = DateTime(date.year, date.month - 1, date.day);

Comments

Submit
0 Comments